
import React from "react"
// svg
import { ReactComponent as CircuitSvg } from '../../assets/svg/yuanBaoShan.svg';
import {$homePageSvgComponentPropsInterface} from "../../interface";
import HomePage_SvgComponent from ".";


// 主页-圆包山隧道svg组件

const HomePage_YuanBaoShanSvgComponent: React.FC<$homePageSvgComponentPropsInterface> = (props) => {
    const width = 1488
    const height = 1200
    const cardList = [
        {
            name: "高压母线",
            top: 55,
            left: 45,
            key: "AH1_10KV进线高压侧",
        },
        {
            name: "10kV电源进线-左",
            top: 139,
            left: 350,
            key: "AH1_10KV进线高压侧",
            unit: "kV",
        },
        {
            name: "10kV电源进线-右",
            top: 139,
            left: 500,
            key: "AH1_10KV进线高压侧",
        },
        {
            name: "变压器-左",
            top: 139,
            left: 627,
            key: "AH2_至变压器",
        },
        {
            name: "变压器-右",
            top: 78,
            left: 1004,
            key: "AA1_10KV进线低压侧",
        },
        {
            name: "低压母线",
            top: 143,
            left: 1327,
            key: "AA1_10KV进线低压侧",
        },
        {
            name: "右线左侧加强照明1",
            top: 269,
            left: 127,
            key: "AA5_右线左侧加强照明1",
        },
        {
            name: "右线左侧加强照明2",
            top: 269,
            left: 264,
            key: "AA5_右线左侧加强照明2",
        },
        {
            name: "右线右侧加强照明1",
            top: 269,
            left: 401,
            key: "AA3_右线右侧加强照明1",
        },
        {
            name: "右线右侧加强照明2",
            top: 269,
            left: 538,
            key: "AA3_右线右侧加强照明2",
        },
        {
            name: "箱变内部用电",
            top: 269,
            left: 675,
            key: "AA3_箱变内部用电",
        },
        {
            name: "EPS电源",
            top: 269,
            left: 812,
            key: "AA3_EPS电源",
        },
        {
            name: "交流电源（UPS）",
            top: 269,
            left: 949,
            key: "AA3_交流电源(UPS电源)",
        },
        {
            name: "备用",
            top: 269,
            left: 1086,
            key: "AA3_备用",
        },
        {
            name: "电容补偿",
            top: 269,
            left: 1223,
            key: "AA2_电容补偿",
        },
        {
            name: "有源滤波",
            top: 269,
            left: 1360,
            key: "AA3_有源滤波",
        },
        {
            name: "左线左侧加强照明1",
            top: 490,
            left: 127,
            key: "AA4_左线左侧加强照明1",
        },
        {
            name: "左线左侧加强照明2",
            top: 490,
            left: 264,
            key: "AA4_左线左侧加强照明2",
        },
        {
            name: "左线右侧加强照明1",
            top: 490,
            left: 401,
            key: "AA4_左线右侧加强照明1",
        },
        {
            name: "左线右侧加强照明2",
            top: 490,
            left: 538,
            key: "AA4_左线右侧加强照明2",
        },
        {
            name: "左线洞外路灯",
            top: 490,
            left: 675,
            key: "AA4_左线洞外路灯",
        },
        {
            name: "右线洞外路灯",
            top: 490,
            left: 812,
            key: "AA4_右线洞外路灯",
        },
        {
            name: "左洞检修插座",
            top: 490,
            left: 949,
            key: "AA4_左洞检修插座",
        },
        {
            name: "右洞检修插座",
            top: 490,
            left: 1086,
            key: "AA4_右洞检修插座",
        },
        {
            name: "备用",
            top: 490,
            left: 1223,
            key: "AA4_备用",
        },
        {
            name: "左线左侧基本照明",
            top: 711,
            left: 127,
            key: "AA5_左线左侧基本照明",
        },
        {
            name: "左线右侧基本照明1",
            top: 711,
            left: 264,
            key: "AA5_左线右侧基本照明1",
        },
        {
            name: "左线右侧基本照明2",
            top: 711,
            left: 401,
            key: "AA5_左线右侧基本照明2",
        },
        {
            name: "右线左侧基本照明",
            top: 711,
            left: 538,
            key: "AA5_右线左侧基本照明",
        },
        {
            name: "右线左侧基本照明1",
            top: 711,
            left: 675,
            key: "AA3_右线左侧基本照明1",
        },
        {
            name: "右线左侧基本照明2",
            top: 711,
            left: 812,
            key: "AA3_右线左侧基本照明2",
        },
        {
            name: "备用",
            top: 711,
            left: 949,
            key: "AA5_备用",
        },
        {
            name: "EPS电源进线",
            top: 993,
            left: 232,
            key: "EPD_EPS电源线",
        },
        {
            name: "左线左侧应急照明",
            top: 993,
            left: 385,
            key: "EPD_左线左侧应急照明",
        },
        {
            name: "右线左侧应急照明",
            top: 993,
            left: 572,
            key: "EPD_右线左侧应急照明",
        },
        {
            name: "备用-blue",
            top: 1013,
            left: 759,
            row12Type: "blue",
            key: "EPD_备用1",
        },
        {
            name: "备用",
            top: 993,
            left: 946,
            key: "EPD_备用2",
        },
        {
            name: "备用",
            top: 993,
            left: 1133,
            key: "EPD_备用3",
        },
        {
            name: "备用-blue",
            top: 1013,
            left: 1320,
            row12Type: "blue",
            key: "EPD_备用4",
        },
    ]
    const rowGeneratrixList = ["高压母线", "低压母线"]
    const row14List = ["变压器-右"]
    const dialogBoxList = [
        {
            name: "10kV电源进线-左",
            top: 57,
            left: 440,
            key: "AH1_10KV进线高压侧",
            direction: "Down"
        },
        {
            name: "变压器",
            top: 130,
            left: 935,
            key: "AA1_10KV进线低压侧",
            direction: "Up"
        },
        {
            name: "右线左侧加强照明1",
            top: 301,
            left: 107,
            key: "AA5_右线左侧加强照明1",
            direction: "Down"
        },
        {
            name: "右线左侧加强照明2",
            top: 378,
            left: 245,
            key: "AA5_右线左侧加强照明2",
            direction: "Up"
        },
        {
            name: "右线右侧加强照明1",
            top: 301,
            left: 383,
            key: "AA3_右线右侧加强照明1",
            direction: "Down"
        },
        {
            name: "右线右侧加强照明2",
            top: 378,
            left: 521,
            key: "AA3_右线右侧加强照明2",
            direction: "Up"
        },
        {
            name: "箱变内部用电",
            top: 301,
            left: 659,
            key: "AA3_箱变内部用电",
            direction: "Down"
        },
        {
            name: "EPS电源",
            top: 378,
            left: 797,
            key: "AA3_EPS电源",
            direction: "Up"
        },
        {
            name: "交流电源（UPS）",
            top: 301,
            left: 935,
            key: "AA3_交流电源(UPS电源)",
            direction: "Down"
        },
        {
            name: "备用",
            top: 378,
            left: 1073,
            key: "AA3_备用",
            direction: "Up"
        },
        {
            name: "电容补偿",
            top: 301,
            left: 1211,
            key: "AA2_电容补偿",
            direction: "Down"
        },
        {
            name: "有源滤波",
            top: 378,
            left: 1349,
            key: "AA3_有源滤波",
            direction: "Up"
        },
        {
            name: "左线左侧加强照明1",
            top: 522,
            left: 107,
            key: "AA4_左线左侧加强照明1",
            direction: "Down"
        },
        {
            name: "左线左侧加强照明2",
            top: 599,
            left: 245,
            key: "AA4_左线左侧加强照明2",
            direction: "Up"
        },
        {
            name: "左线右侧加强照明1",
            top: 522,
            left: 383,
            key: "AA4_左线右侧加强照明1",
            direction: "Down"
        },
        {
            name: "左线右侧加强照明2",
            top: 599,
            left: 521,
            key: "AA4_左线右侧加强照明2",
            direction: "Up"
        },
        {
            name: "左线洞外路灯",
            top: 522,
            left: 659,
            key: "AA4_左线洞外路灯",
            direction: "Down"
        },
        {
            name: "右线洞外路灯",
            top: 599,
            left: 797,
            key: "AA4_右线洞外路灯",
            direction: "Up"
        },
        {
            name: "左洞检修插座",
            top: 522,
            left: 935,
            key: "AA4_左洞检修插座",
            direction: "Down"
        },
        {
            name: "右洞检修插座",
            top: 599,
            left: 1073,
            key: "AA4_右洞检修插座",
            direction: "Up"
        },
        {
            name: "备用",
            top: 522,
            left: 1211,
            key: "AA4_备用",
            direction: "Down"
        },
        {
            name: "左线左侧基本照明",
            top: 743,
            left: 107,
            key: "AA5_左线左侧基本照明",
            direction: "Down"
        },
        {
            name: "左线右侧基本照明1",
            top: 820,
            left: 245,
            key: "AA5_左线右侧基本照明1",
            direction: "Up"
        },
        {
            name: "左线右侧基本照明2",
            top: 743,
            left: 383,
            key: "AA5_左线右侧基本照明2",
            direction: "Down"
        },
        {
            name: "右线左侧基本照明",
            top: 820,
            left: 521,
            key: "AA5_右线左侧基本照明",
            direction: "Up"
        },
        {
            name: "右线左侧基本照明1",
            top: 743,
            left: 659,
            key: "AA3_右线左侧基本照明1",
            direction: "Down"
        },
        {
            name: "右线左侧基本照明2",
            top: 820,
            left: 797,
            key: "AA3_右线左侧基本照明2",
            direction: "Up"
        },
        {
            name: "备用",
            top: 743,
            left: 935,
            key: "AA5_备用",
            direction: "Down"
        },
        {
            name: "EPS电源进线",
            top: 1018,
            left: 172,
            key: "EPD_EPS电源线",
            direction: "Up"
        },
        {
            name: "左线左侧应急照明",
            top: 1023,
            left: 363,
            key: "EPD_左线左侧应急照明",
            direction: "Down"
        },
        {
            name: "右线左侧应急照明",
            top: 1102,
            left: 553,
            key: "EPD_右线左侧应急照明",
            direction: "Up"
        },
        {
            name: "备用",
            top: 1023,
            left: 741,
            key: "EPD_备用1",
            direction: "Down"
        },
        {
            name: "备用",
            top: 1102,
            left: 932,
            key: "EPD_备用2",
            direction: "Up"
        },
        {
            name: "备用",
            top: 1023,
            left: 1123,
            key: "EPD_备用3",
            direction: "Down"
        },
        {
            name: "备用",
            top: 1102,
            left: 1312,
            key: "EPD_备用4",
            direction: "Up"
        },
    ]
    return (
        <HomePage_SvgComponent initWidth={width} initHeight={height} pageName={props.pageName} scaleValue={props.scaleValue} isSwitch={props.isSwitch} Svg={CircuitSvg} cardList={cardList} rowGeneratrixList={rowGeneratrixList} row14List={row14List} initDialogBoxList={dialogBoxList} sourceList={props.sourceList}/>
    )
}

export default HomePage_YuanBaoShanSvgComponent
